<ion-view view-title="{{view.name}}">
      
      <ion-content>
        <label class="item item-input item-select">
    <div class="input-label">
      视图
    </div>
    <select ng-options="view.id as view.viewName for view in views" ng-model="vm.vid" ng-change="update()" >
    </select>
  </label>
        <ion-scroll direction="x" style="width: 100%" scrollbar-x="false" delegate-handle="head" zooming="true" on-scroll="scrollMirror('head', 'list')">
        <div class="item item-header item-positive row row-item min-705" >
          <div ng-repeat="columnDef in columnDefs" class="col col-right col-10 min-50" ng-click="sort('descricao')">{{columnDef.displayName}}</div>
        </div>
      </ion-scroll>
      <ion-scroll direction="xy" style="height: 100%" zooming="true" on-scroll="scrollMirror('list', 'head')" delegate-handle="list">
        <div class="item row row-item min-705" ng-repeat="row in realData | orderBy:predicate:desc">
          <div class="col col-right col-10 min-50" ng-repeat="column in row">{{ column }}</div>
          
        </div>
        
      </ion-scroll>
    </ion-view>
<!-- <ion-header-bar class="bar bar-header bar-positive">
      <a class="button button-icon icon ion-navicon" ng-click="toggleLeft()"></a>
      <a class="button button-icon icon ion-refresh" ng-click="toggleLeft()"></a>
      <a class="button button-icon pull-right icon ion-search" ng-click="toggleLeft()"></a>

      <h1 class="title"></h1>
    
    </ion-header-bar>

    <ion-content has-header="true" scroll="false">
      <ion-scroll direction="x" style="width: 100%" scrollbar-x="false" delegate-handle="head" zooming="true" on-scroll="scrollMirror('head', 'list')">
        <div class="item item-header item-positive row row-item min-705" >
          <div ng-repeat="columnDef in columnDefs" class="col col-right col-10 min-50" ng-click="sort('descricao')">{{columnDef.displayName}}</div>
        </div>
      </ion-scroll>
      <ion-scroll direction="xy" style="height: 100%" zooming="true" on-scroll="scrollMirror('list', 'head')" delegate-handle="list">
        <div class="item row row-item min-705" ng-repeat="row in realData | orderBy:predicate:desc">
          <div class="col col-right col-10 min-50" ng-repeat="column in row">{{ column }}</div>
          
        </div>
        
      </ion-scroll>
    </ion-content> -->